using System;

namespace IPAMS
{
    /// <summary>
    /// Provided a template (generic) alternative for the standard EventArgs allowing 
    /// sending complex data in the event. 
    /// </summary>
    /// <typeparam name="T">A generic template for any type of data.</typeparam>
    public class TEventArgs<T> : EventArgs 
    {
        private T _data;
        
        public TEventArgs(T data)
        {
            _data = data;
        }
        
        public T data
        {
            get { return _data; }
        }
        
    }
}
